﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using WeiboPlus.Service;
using WeiboPlus.Models;
using WeiboPlus.Common;

namespace WeiboPlus.Twitter
{
    public class TwitterSNSProvider : SNSProvider
    {
        protected override void Initialize()
        {
            base.Initialize();
            this.ProviderName = AppResx.TwitterMicroblogText;
            this.Type = SNSProviderType.Twitter;
        }

        protected override IOAuthService GetAuthriozeService()
        {
            throw new NotImplementedException();
        }

        protected override OAuthSettings GetAuthSettings()
        {
            return ConfigrationManager.Current[this.Type];
        }

        public override Uri GetIconUrl()
        {
            return new Uri("/Icons/twitter.jpg", UriKind.Relative);
        }

        public override bool IsSupported
        {
            get { return false; }
        }
    }
}
